package com.yunhe.common.relat.base;

import com.yunhe.common.model.base.StatusType;

import java.util.List;

/**
 * 设备类型对象
 * 用于SpringDateNeo4j的关系依赖
 * @author liuronglei
 */
public class DeviceType extends StatusType {

    private Long id;
    private Integer terminalNum;
    private Boolean inputOutputEqual;
    private Boolean inputOutputReverse;
    private DeviceProperty deviceProperty;
    private DeviceCategory deviceCategory;
    private List<Region> regions;
    private List<Terminal> terminals;
    /**
     * 是否平台内置设备类型
     */
    private Boolean isDefault = false;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getTerminalNum() {
        return terminalNum;
    }

    public void setTerminalNum(Integer terminalNum) {
        this.terminalNum = terminalNum;
    }

    public Boolean getInputOutputEqual() {
        return inputOutputEqual;
    }

    public void setInputOutputEqual(Boolean inputOutputEqual) {
        this.inputOutputEqual = inputOutputEqual;
    }

    public Boolean getInputOutputReverse() {
        return inputOutputReverse;
    }

    public void setInputOutputReverse(Boolean inputOutputReverse) {
        this.inputOutputReverse = inputOutputReverse;
    }

    public List<Terminal> getTerminals() {
        return terminals;
    }

    public void setTerminals(List<Terminal> terminals) {
        this.terminals = terminals;
    }

    public DeviceProperty getDeviceProperty() {
        return deviceProperty;
    }

    public void setDeviceProperty(DeviceProperty deviceProperty) {
        this.deviceProperty = deviceProperty;
    }

    public List<Region> getRegions() {
        return regions;
    }

    public void setRegions(List<Region> regions) {
        this.regions = regions;
    }

    public DeviceCategory getDeviceCategory() {
        return deviceCategory;
    }

    public void setDeviceCategory(DeviceCategory deviceCategory) {
        this.deviceCategory = deviceCategory;
    }

    public Boolean getIsDefault() {
        return isDefault;
    }

    public void setIsDefault(Boolean aDefault) {
        isDefault = aDefault;
    }
}
